1 <html>
2 <head>
3 <meta http-equiv=
"Content-Type" content="text/html; charset=iso-8859-1">
4 <title>Untitled Document</title>
5 </head>
6 <?
7
8 require(
"../config.php");
9 require(
"../common_start.php");
10 require(
"../vn/module/module_func.php");
11 include(
"../Test/admin_func.php");
12 ?>
13
14 <body>
15 <form name=
"form1" method="post" action="">
16 <
select size="1" name="txtParent">
17 <?
18         echo
"<option value='0'>[Danh m&#7909;c g&#7889;c]</option>";
19         $cats=GetListCategory();
20         
foreach ($cats as $cat)
21         {
22             
if ($cat[0]==$parent)
23                 echo
"<option value=".$cat[0]." selected>".$cat[1]."</option>";
24             
else
25                 echo
"<option value=".$cat[0].">".$cat[1]."</option>";
26         }
27 ?>
28         </
select>
29 </form>
30 </body>
31 </html>
32 <? require(
"../common_end.php") ?>



Full source code website bán hàng thương mại điện tử gần giống shopee 468.789 lượt xem

Gõ tìm kiếm nhanh...